#pragma once

// CHHeadCtrl
namespace gtl
{

namespace skin
{

namespace controls
{

class CHHeadCtrl : public CHeaderCtrl
{
	DECLARE_DYNAMIC(CHHeadCtrl)

public:
	CHHeadCtrl();
	virtual ~CHHeadCtrl();

protected:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	DECLARE_MESSAGE_MAP()
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();

protected:
	UINT	 m_nTextFormat;
	CFont	 m_fntDefault;
	CBitmap  m_bmpColHeaderSpan;
	CBitmap  m_bmpColHeaderStart;
	CBitmap  m_bmpColHeaderEnd;
	COLORREF m_clrText;
};

} // end of namespace controls

} // end of namespace skin

} // end of namespace gtl
